package ofc4j.model.elements;

import java.util.Arrays;
import java.util.List;


public class BarChart extends Element {   
    private String colour;
    
    public BarChart() {
        super("bar");
    }
    
    public BarChart addValues(Number... values) {
        getValues().addAll(Arrays.asList(values));
        return this;
    }
    
    public BarChart addValues(List<Number> values) {
        getValues().addAll(values);
        return this;
    }
    
    public String getColour() {
        return colour;
    }

    public BarChart setColour(String colour) {
        this.colour = colour;
        return this;
    }
}
